/*
 * PointToLocationQuery.h
 *
 *  Created on: Dec 7, 2009
 *      Author: jbarreneche
 */

#ifndef POINTTOLOCATIONQUERY_H_
#define POINTTOLOCATIONQUERY_H_

#include "QueryRoute.h"

class PointToLocationQuery: public QueryRoute {
public:
	PointToLocationQuery(Map *map, string originRoadName, int originHeight, MapLocationType type,
			RouteOptimize optimizationStrategy) throw(UnexistingAddressException, RoadNotFoundException);
	virtual ~PointToLocationQuery();
	virtual util::LinkedList<MapPoint> finishPoints();
protected:
	virtual void recalculateRoute();
private:
	MapLocationType type;
	LinkedList<MapAddress> locationAddresses;
};

#endif /* POINTTOLOCATIONQUERY_H_ */
